package com.zb.dao.impl;

import com.zb.dao.BaseDao;
import com.zb.dao.HelpDao;
import com.zb.entity.Help;

public class HelpDaoImpl implements HelpDao {
	private BaseDao db=new BaseDao();
	public void addHelp(Help h) {
		String sql="INSERT INTO `help` VALUES(?,DEFAULT,DEFAULT,NOW(),NULL,?,NULL,?);";
		db.update(sql,h.getCar(),h.getStore().getId(),h.getPlace());
		db.close();
	}
}
